﻿<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="utf-8" />
	<meta name="author" content="order by dede58.com" />
	<title>快乐维修后台管理系统 </title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="assets/css/font-awesome.min.css" />
	<link rel="stylesheet" href="assets/css/ace.min.css" />
	<link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
	<link rel="stylesheet" href="assets/css/ace-skins.min.css" />
	<link rel="stylesheet" href="css/style.css" />
	<script src="assets/js/ace-extra.min.js"></script>
	<script src="js/jquery-1.9.1.min.js"></script>
	<script src="assets/js/bootstrap.min.js"></script>
	<script src="assets/js/typeahead-bs2.min.js"></script>
	<script src="assets/js/ace-elements.min.js"></script>
	<script src="assets/js/ace.min.js"></script>
	<script src="assets/layer/layer.js" type="text/javascript"></script>
	<script src="assets/laydate/laydate.js" type="text/javascript"></script>
	<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
	<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.js"></script>
	<script src="js/common.js"></script>
	<script type="text/javascript">
		if ("ontouchend" in document) document.write("<script src='assets/js/jquery.mobile.custom.min.js'>" + "<" + "script>");
	</script>

</head>

<body>
<div id="app">
	<!------------------头—头部登录用户栏----------------->
	<haed></haed>
	<div class="main-container" id="main-container">

		<!-------------------侧—侧部导航栏------------------->
		<div class="main-container-inner">
			<a class="menu-toggler" id="menu-toggler" href="#">
				<span class="menu-text"></span>
			</a>
			<div class="sidebar" id="sidebar">


				<div class="sidebar-shortcuts" id="sidebar-shortcuts">
					<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
						快乐维修后台管理系统
					</div>
					<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
						<span class="btn btn-success"></span>
						<span class="btn btn-info"></span>
						<span class="btn btn-warning"></span>
						<span class="btn btn-danger"></span>
					</div>
				</div>

				<!--------------------------------系统首页----------------------------------->
				<ul class="nav nav-list" id="nav_list">
					<li class="home">
						<a href="javascript:void(0)" name="home.html" class="iframeurl" title="">
							<i class="icon-dashboard"></i>
							<span class="menu-text"> 系统首页 </span>
						</a>
					</li>
					<!--------------------------------耗材管理--分类-总览-添加-------------------------------->
					<li>
						<a href="#" class="dropdown-toggle">
							<i class="icon-desktop"></i>
							<span class="menu-text"> 耗材管理 </span>
							<b class="arrow icon-angle-down"></b>
						</a>
						<ul class="submenu">
							<li class="home">
								<a href="javascript:void(0)" name="Category_Manage.html" title="耗材分类管理" class="iframeurl"><i class="icon-double-angle-right"></i>耗材分类管理
								</a>
							</li>
							<li class="home">
								<a href="javascript:void(0)" name="Brand_detailed.html" title="耗材总览管理" class="iframeurl"><i class="icon-double-angle-right"></i>耗材总览管理
								</a>
							</li>
							<li class="home">
								<a href="javascript:void(0)" name="Add_Brand.html" title="耗材添加管理" class="iframeurl"><i class="icon-double-angle-right"></i>耗材添加管理
								</a>
							</li>
						</ul>
					</li>
					<!--------------------------------订单管理--管理-派遣-历史-供暖号码------------------------------>

					<li>
						<a href="#" class="dropdown-toggle">
							<i class="icon-picture"></i>
							<span class="menu-text"> 订单管理 </span>
							<b class="arrow icon-angle-down"></b>
						</a>
						<ul class="submenu">
							<li class="home">
								<a href="javascript:void(0)" name="Products_List.html" title="管理订单" class="iframeurl">
									<i class="icon-double-angle-right"></i>管理订单
								</a>
							</li>
							<li class="home">
								<a href="javascript:void(0)" name="Order_Management.html" title="派遣订单" class="iframeurl">
									<i class="icon-double-angle-right"></i>派遣订单
								</a>
							</li>
							<li class="home">
								<a href="javascript:void(0)" name="integration.html" title="历史订单" class="iframeurl"><i class="icon-double-angle-right"></i>历史订单
								</a>
							</li>
							<li class="home">
								<a href="javascript:void(0)" name="Brand_Manage.html" title="管理供暖号码" class="iframeurl">
									<i class="icon-double-angle-right"></i>管理供暖号码
								</a>
							</li>

						</ul>
					</li>


					<!--------------------------------交易管理----------------------------------->
					<li>
						<a href="#" class="dropdown-toggle">
							<i class="icon-list"></i>
							<span class="menu-text"> 交易管理 </span>
							<b class="arrow icon-angle-down"></b>
						</a>
						<ul class="submenu">
							<li class="home">
								<a href="javascript:void(0)" name="transaction.html" title="交易信息" class="iframeurl">
									<i class="icon-double-angle-right"></i>交易信息</a>
							</li>
							<li class="home">
								<a href="javascript:void(0)" name="Orderform.html" title="订单管理" class="iframeurl">
									<i class="icon-double-angle-right"></i>订单管理</a>
							</li>
							<li class="home"><a href="javascript:void(0)" name="monies.html" title="交易金额" class="iframeurl"><i class="icon-double-angle-right"></i>交易金额</a></li>
						</ul>
					</li>


					<!--------------------------------人员管理----------------------------------->


					<li>
						<a href="#" class="dropdown-toggle">
							<i class="icon-user"></i>
							<span class="menu-text"> 人员管理 </span><b class="arrow icon-angle-down"></b></a>
						<ul class="submenu">
							<li class="home"><a href="javascript:void(0)" name="user_worker.html" title="管理维修人员" class="iframeurl"><i class="icon-double-angle-right"></i>管理维修人员</a></li>
							<li class="home"><a href="javascript:void(0)" name="Daily_worker.html" title="维修人员日志" class="iframeurl"><i class="icon-double-angle-right"></i>维修人员日志</a></li>
							<li class="home"><a href="javascript:void(0)" name="user_workemanage.html" title="管理业务经理" class="iframeurl"><i class="icon-double-angle-right"></i>管理业务经理</a></li>
							<li class="home"><a href="javascript:void(0)" name="Daily_workemanage.html" title="业务经理日志" class="iframeurl"><i class="icon-double-angle-right"></i>业务经理日志</a></li>
							<li class="home"><a href="javascript:void(0)" name="user_manage.html" title="管理业务经理" class="iframeurl"><i class="icon-double-angle-right"></i>管理管理人员</a></li>
							<li class="home"><a href="javascript:void(0)" name="Daily_manage.html" title="管理人员日志" class="iframeurl"><i class="icon-double-angle-right"></i>管理人员日志</a></li>

						</ul>


					</li>
					<li><a href="#" class="dropdown-toggle">
						<i class="icon-edit"></i>
						<span class="menu-text"> 业务管理 </span><b class="arrow icon-angle-down"></b></a>
						<ul class="submenu">
							<li class="home"><a href="javascript:void(0)" name="Category_hitch.html" title="故障分类管理" class="iframeurl"><i class="icon-double-angle-right"></i>故障分类管理</a></li>
							<li class="home"><a href="javascript:void(0)" name="admin_management_complainstype.html" title="故障分类管理" class="iframeurl"><i class="icon-double-angle-right"></i>投诉条例管理</a></li>
							<li class="home"><a href="javascript:void(0)" name="Feedback.html" title="退单原因管理" class="iframeurl"><i class="icon-double-angle-right"></i>退单原因管理</a></li>
							<li class="home"><a href="javascript:void(0)" name="" title="工作时间管理" class="iframeurl"><i class="icon-double-angle-right"></i>工作时间管理</a></li>
							<li class="home"><a href="javascript:void(0)" name="" title="选项配置管理" class="iframeurl"><i class="icon-double-angle-right"></i>选项配置管理</a></li>
							<li class="home"><a href="javascript:void(0)" name="Guestbook.html" title="售后留言管理" class="iframeurl"><i class="icon-double-angle-right"></i>售后留言管理</a></li>
							<li class="home"><a href="javascript:void(0)" name="AdminConfig.html" title="系统设置" class="iframeurl"><i class="icon-double-angle-right"></i>项配置设置</a></li>

						</ul>
					</li>


					<li><a href="#" class="dropdown-toggle"><i class="icon-cogs"></i><span class="menu-text"> 系统管理 </span><b class="arrow icon-angle-down"></b></a>
						<ul class="submenu">

							<li class="home"><a href="javascript:void(0)" name="" title="清理缓存" class="iframeurl"><i class="icon-double-angle-right"></i>清理缓存</a></li>
						</ul>
					</li>



					<li><a href="#" class="dropdown-toggle"><i class="icon-group"></i><span class="menu-text"> 超级权限 </span><b class="arrow icon-angle-down"></b></a>
						<ul class="submenu">
							<li class="home"><a href="javascript:void(0)" name="Systems.html" title="网站设置" class="iframeurl"><i class="icon-double-angle-right"></i>网站设置</a></li>
							<li class="home"><a href="javascript:void(0)" name="admin_Competence.html" title="权限管理" class="iframeurl"><i class="icon-double-angle-right"></i>权限管理</a></li>
							<li class="home"><a href="javascript:void(0)" name="administrator.html" title="管理员列表" class="iframeurl"><i class="icon-double-angle-right"></i>管理员列表</a></li>
							<li class="home"><a href="javascript:void(0)" name="admin_info.html" title="个人信息" class="iframeurl"><i class="icon-double-angle-right"></i>个人信息</a></li>
						</ul>
					</li>
				</ul>



				<div class="sidebar-collapse" id="sidebar-collapse">
					<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
				</div>

			</div>
		</div>
		<!-------------------头—快捷地址导航栏------------------->
		<top></top>
		<!-------------------侧—侧部主题样式栏------------------->
		<theme></theme>
	</div>
</div>
<!-------------------尾—尾部信息栏------------------->
<end></end>


<div class="change_Pass_style" id="change_Pass">
	<ul class="xg_style">
		<li><label class="label_name">原&nbsp;&nbsp;密&nbsp;码</label><input name="原密码" type="password" class="" id="password"></li>
		<li><label class="label_name">新&nbsp;&nbsp;密&nbsp;码</label><input name="新密码" type="password" class="" id="Nes_pas"></li>
		<li><label class="label_name" v-model.trim="password">确认密码</label><input name="再次确认密码" type="password" class="" id="c_mew_pas"></li>

	</ul>
</div>
</body>
</html>
<script type="text/javascript">
	try {
		ace.settings.check('main-container', 'fixed')
	} catch (e) {}

</script>
<script type="text/javascript">
	try {
		ace.settings.check('sidebar', 'fixed')
	} catch (e) {}

</script>
<script type="text/javascript">
	try {
		ace.settings.check('sidebar', 'collapsed')
	} catch (e) {}
</script>



<script>

	var app = new Vue({
		el:"#app",
		data:{
			admin:{},
			message:'',
			password:'',
			name:'',
			phone:'',
			adminType:{},
		},
		method:{

		}

	});

	$(function(){
		var cid = $('#nav_list> li>.submenu');
		cid.each(function(i){
			$(this).attr('id',"Sort_link_"+i);

		})
	})
	jQuery(document).ready(function(){
		$.each($(".submenu"),function(){
			var $aobjs=$(this).children("li");
			var rowCount=$aobjs.size();
			var divHeigth=$(this).height();
			$aobjs.height(divHeigth/rowCount);
		});
//初始化宽度、高度
		$("#main-container").height($(window).height()-76);
		$("#iframe").height($(window).height()-140);

		$(".sidebar").height($(window).height()-99);
		var thisHeight = $("#nav_list").height($(window).outerHeight()-173);
		$(".submenu").height();
		$("#nav_list").children(".submenu").css("height",thisHeight);

//当文档窗口发生改变时 触发
		$(window).resize(function(){
			$("#main-container").height($(window).height()-76);
			$("#iframe").height($(window).height()-140);
			$(".sidebar").height($(window).height()-99);

			var thisHeight = $("#nav_list").height($(window).outerHeight()-173);
			$(".submenu").height();
			$("#nav_list").children(".submenu").css("height",thisHeight);
		});
		$(".iframeurl").click(function(){
			var cid = $(this).attr("name");
			var cname = $(this).attr("title");
			$("#iframe").attr("src",cid).ready();
			$("#Bcrumbs").attr("href",cid).ready();
			$(".Current_page a").attr('href',cid).ready();
			$(".Current_page").attr('name',cid);
			$(".Current_page").html(cname).css({"color":"#333333","cursor":"default"}).ready();
			$("#parentIframe").html('<span class="parentIframe iframeurl"> </span>').css("display","none").ready();
			$("#parentIfour").html(''). css("display","none").ready();
		});


	});

	$( document).ready(function(){
		$('#nav_list').find('li.home').click(function(){
			$('#nav_list').find('li.home').removeClass('active');
			$(this).addClass('active');
		});


//时间设置
		function currentTime(){
			var d=new Date(),str='';
			str+=d.getFullYear()+'年';
			str+=d.getMonth() + 1+'月';
			str+=d.getDate()+'日';
			str+=d.getHours()+'时';
			str+=d.getMinutes()+'分';
			str+= d.getSeconds()+'秒';
			return str;
		}
		setInterval(function(){$('#time').html(currentTime)},1000);
//修改密码
		$('.change_Password').on('click', function(){
			layer.open({
				type: 1,
				title:'修改密码',
				area: ['300px','300px'],
				shadeClose: true,
				content: $('#change_Pass'),
				btn:['确认修改'],
				yes:function(index, layero){
					if ($("#password").val()==""){
						layer.alert('原密码不能为空!',{
							title: '提示框',
							icon:0,

						});
						return false;
					}
					if ($("#Nes_pas").val()==""){
						layer.alert('新密码不能为空!',{
							title: '提示框',
							icon:0,

						});
						return false;
					}

					if ($("#c_mew_pas").val()==""){
						layer.alert('确认新密码不能为空!',{
							title: '提示框',
							icon:0,

						});
						return false;
					}
					if(!$("#c_mew_pas").val || $("#c_mew_pas").val() != $("#Nes_pas").val() )
					{
						layer.alert('密码不一致!',{
							title: '提示框',
							icon:0,

						});
						return false;
					}
					else{
						layer.alert('修改成功！',{
							title: '提示框',
							icon:1,
						});
						layer.close(index);
					}
				}
			});
		});
		$('#Exit_system').on('click', function(){
			layer.confirm('是否确定退出系统？', {
						btn: ['是','否'] ,//按钮
						icon:2,
					},
					function(){
						localStorage.removeItem("admin")
						location.href="login.html";

					});
		});

	})
</script>
